package com.chestnut.contentcore.domain;

import java.io.Serializable;

import com.chestnut.common.db.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 轮播图对象 cms_carousel
 *
 * @author chestnut
 * @date 2025-04-28
 */
@Getter
@Setter
@TableName(value = CmsCarousel.TABLE_NAME)
public class CmsCarousel extends BaseEntity {

    private static final long serialVersionUID = 1L;

    public static final String TABLE_NAME = "cms_carousel";

    /**  */
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;

    /**  */
    private String name;

    /**  */
    private String filePath;

    /** 序号 */
    private Long sort;

    private String language;
}
